<?php
	/**
	 * 3.2.2 商品转链接口
	 * Created by:
	 * User: wangs
	 * Date: 2024/5/7
	 */
	declare (strict_types=1);

	namespace pangolin\sdk\api;

	use pangolin\sdk\http\PopBaseHttpRequest;

	class ProductLinkRequest extends PopBaseHttpRequest
	{
		private  $command='';

		private  $command_external_info='';

		private  $need_qr_code='';

		private  $need_share_link=null;

		private  $need_zlink=null;
		private  $need_share_command=null;



		/**
		 * @return string
		 */
		public function getType()
		{
			return "/life/product/link";
		}

		/**
		 * @param $var
		 * @return void
		 */
		protected function setUserParams(&$var)
		{

			$this->setUserParam($var,'command',$this->command);
			$this->setUserParam($var,'command_external_info',$this->command_external_info);
			$this->setUserParam($var,'need_qr_code',$this->need_qr_code);
			$this->setUserParam($var,'need_share_link',$this->need_share_link);
			$this->setUserParam($var,'need_zlink',$this->need_zlink);
			$this->setUserParam($var,'need_share_command',$this->need_share_command);
		}


		public function setCommand($command){
			$this->command=$command;
		}


		public function setCommandExternalInfo($command_external_info){
			$this->command_external_info=$command_external_info;
		}


		public function setNeedQrCode($need_qr_code){
			$this->need_qr_code=$need_qr_code;
		}


		public function setNeedShareLink($need_share_link){
			$this->need_share_link=$need_share_link;
		}


		public function setNeedZlink($need_zlink){
			$this->need_zlink=$need_zlink;
		}

		public function setNeedShareCommand($need_share_command){
			$this->need_share_command=$need_share_command;
		}



	}